package com.coocaa.coolink_tvos_mobile_demo.ui.recyclelist;

public class Item {
    public enum ITEM_STATE{
        INVISIABLE,
        VISIABLE,
        CONNECTED,
    }

    private String name;
    private String clientID;
    private ITEM_STATE state;
    private int selectedPosition = -1;
    private boolean isSelected;

    public Item(String name,String clientID) {
        this.name = name;
        this.clientID = clientID;

        this.state = ITEM_STATE.INVISIABLE;
        this.isSelected = false;
    }

    public String getName() {
        return name;
    }

    public String getClientID() {return clientID;}

    public void setNameAndClientID(String name,String clientID) {
        this.name = name;
        this.clientID = clientID;
    }

    public int getSelectedPosition() {
        return selectedPosition;
    }

    public void setSelectedPosition(int selectedPosition) {
        this.selectedPosition = selectedPosition;
    }

    public boolean isSelected() {
        return isSelected;
    }

    public void setSelected(boolean selected) {
        isSelected = selected;
    }

    public void setState(ITEM_STATE state){
        this.state = state;
    }

    public ITEM_STATE getState(){
        return this.state;
    }
}